﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Iron:NPCF
    {
        private string dt;
        public string Dt { get => dt; set => dt = value; }

        public Iron(string name, NPCType Type1, string dt) : base(name, Type1)
        {
            this.dt = dt; 
        }
        public override void Speak()
        {
            Console.WriteLine("{0}:我可以帮你{1}",this.Name,this.dt);
        }
    }
}
